<div id="content">
	<div class="row s_page_title" *ngIf='pageType=="new"'>
		<sa-big-breadcrumbs [items]="['数据统计','停车管理','新增停车数据']" icon="fa fa-download" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="row s_page_title" *ngIf='pageType=="updata"'>
		<sa-big-breadcrumbs [items]="['数据统计','停车管理','编辑停车数据']" icon="fa fa-download" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="s_page_wrap">
		<div class="page-header">
			<h1 class="page_detail_title" *ngIf='pageType=="new"'>新增停车数据</h1>
			<h1 class="page_detail_title" *ngIf='pageType=="updata"'>编辑停车数据</h1>
		</div>
		<div class="row" style="margin-top:5px;">
		<div class="col-xs-12">
			<form  name="fileForm" id="fileForm" class="form-horizontal" (ngSubmit)="onSubmit()" novalidate="novalidate" [saBootstrapValidator]="validatorOptions">

		

				
				
				<div class="form-group s_fix_select2" >
					<label class="control-label col-sm-1 no-padding-right">车牌号码<sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix s_hover_box" style="width: 100%;">
							<input type="hidden"  class="form-control" id="carNumberInput" name="carNumberInput" [(ngModel)]='page.carNumber'>
							<select   class="select2 form-control" style="width:100%" name="carNumber" id="carNumberSelect2">
								<option value=''></option>
							</select>
							<div class="s_del_icon" (click)='del_carNumber()'>x</div>
						</div>
					</div>
				</div>
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right" for="datetimepicker1">停车起始时间 <sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control selecTime" [(ngModel)]='page.startTime' id="datetimepicker1" name="startTime" type="text" placeholder="停车起始时间" />
						</div>
					</div>
				</div>
				
				
				
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right" for="datetimepicker2">停车结束时间 <sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control" [(ngModel)]='page.endTime' id="datetimepicker2" name="endTime" type="text" placeholder="停车结束时间 " />
						</div>
					</div>
				</div>
				
				<!--<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right" for="sourceUrl">总停车时间 <sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control" [(ngModel)]='page.totalTime' name="totalTime" type="text" placeholder="总停车时间" />
						</div>
					</div>
				</div>-->
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right" for="sourceUrl">经度<sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control"  [(ngModel)]='page.x' name="lng" type="text" placeholder="经度"  onkeyup="this.value= this.value.match(/^[+-]?\d*(\.?\d{0,10})/g)[0]" />
						</div>
					</div>
				</div>
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right" for="sourceUrl">维度<sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control" [(ngModel)]='page.y' name="lat" type="text" placeholder="维度" onkeyup="this.value= this.value.match(/^[+-]?\d*(\.?\d{0,10})/g)[0]" />
						</div>
					</div>
				</div>


				<div class="center">
					<button type="submit" class="btn btn-primary">确定</button>
					<button type="button" (click)='goBack()' class="btn default">返回</button>
				</div>
			</form>
			<div class="hr hr-dotted"></div>
		</div>
	</div>
	</div>
</div>